package com.example.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "PuOrder对象", description = "原材料订单表")
@TableName("pu_order")
public class PuOrder {
    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private Integer id;

    /**
     * 原材料id
     */
    @ApiModelProperty(value = "原材料id")
    private Integer shId;

    /**
     * 原材料数量
     */
    @ApiModelProperty(value = "原材料数量")
    private Integer shNumber;

    /**
     * 供应商id
     */
    @ApiModelProperty(value = "供应商id")
    private Integer suId;

    /**
     * 订单总额
     */
    @ApiModelProperty(value = "订单总额")
    private BigDecimal price;

    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态")
    private Integer status;

    /**
     * 交付时间
     */
//    @ApiModelProperty(value = "交付时间")
//    private Date deliveryTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;


    @TableField(exist = false)
    private String shName;

    @TableField(exist = false)
    private String suName;

    @ApiModelProperty(value = "")
    private Integer createBy;

    @TableField(exist = false)
    private String createName;

}